package com.goldze.mvvmhabit.bean;

import java.util.List;

public class MsgBean {
    /**
     * success : true
     * message : success
     * code : 200
     * timestamp : 1618800985327
     * result : [{"id":"1382963285753729023","createBy":null,"createTime":"2021-04-16 15:45:16","updateBy":null,"updateTime":null,"delFlag":0,"personId":"1383822540748754944","title":"异常提醒","content":"李四于2021-4-16 15:44:31打卡, 身体异常, 和您距离少于10千米, 请注意防护!","person":null}]
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private List<ResultBean> result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1382963285753729023
         * createBy : null
         * createTime : 2021-04-16 15:45:16
         * updateBy : null
         * updateTime : null
         * delFlag : 0
         * personId : 1383822540748754944
         * title : 异常提醒
         * content : 李四于2021-4-16 15:44:31打卡, 身体异常, 和您距离少于10千米, 请注意防护!
         * person : null
         */

        private String id;
        private Object createBy;
        private String createTime;
        private Object updateBy;
        private Object updateTime;
        private int delFlag;
        private String personId;
        private String title;
        private String content;
        private Object person;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public String getPersonId() {
            return personId;
        }

        public void setPersonId(String personId) {
            this.personId = personId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Object getPerson() {
            return person;
        }

        public void setPerson(Object person) {
            this.person = person;
        }
    }
}
